package com.bodystm.hardwarecavas;

import java.util.ArrayList;
import java.util.List;

public class Constant {
    public static long waveStartTime = 0;
    public static long reviewWaveStartTime = 0;

    //心率来源 0ECG 1PLETH
    public static final String ECGValueSource = "ECGValueSource";
    //滤波模式  0：监护  1：诊断  2：手术  默认：0监护
    public static final String EcgFilterModel = "EcgFilterModel";
    //导联模式 1三导联 2五导联 3十二导联  默认：2五导联
    public static final String EcgLeadModel = "EcgLeadModel";
    //心电当前选择的哪个导联通道 0:I  1：II  2:V Or V1  3:V2  4:V3  5:V4  6：V5  7：V6  8：aVR  9：aVL  10：aVF  默认：1：II通道
    public static final String EcgCurLead = "EcgCurLead";
    //心电增益 0:x0.25  1:x0.5  2:x1  3:x2 默认：2:x1
    public static final String EcgToneUp = "EcgToneUp";
    //是否开启起搏
    public static final String DDDChecked = "DDDChecked";
    //呼吸增益 0:x1   1:x2   2:x3   3:x4   4:x5
    public static final String RespToneUp = "RespToneUp";
    //血压单位 0：mmHg（毫米汞柱）  1：Kpa（千帕）  默认:mmHg（毫米汞柱）  换算方式：1 毫米汞柱=0.133 千帕  采集设备默认：毫米汞柱
    public static final String NibpUnit = "NibpUnit";
    //血压采集方式 0：手动  1:1Min  2：3Min  3:5Min  4：10Min  5:30Min  6:1Hour  7:2Hour  8:4Hour 默认:手动  其他为自动测量间隔时间
    public static final String NibpGatherModel = "NibpGatherModel";
    //患者类型 0成人 1儿童 2新生儿 默认：0成人
    public static final String PatientType = "PatientType";
    //心电Hr数值颜色
    public static final String EcgValueColorType = "EcgValueColorType";
    //心电波形颜色
    public static final String EcgWaveColorType = "EcgWaveColorType";
    //血氧颜色
    public static final String PlethColorType = "PlethColorType";
    //呼吸颜色
    public static final String RespColorType = "RespColorType";
    //血压颜色
    public static final String NibpColorType = "NibpColorType";
    //电外科抑制
    public static final String ElectrosurgicalInhibition = "ElectrosurgicalInhibition";
    // 中央监护系统报警模式
    public static final String CmsAlertModeSwitch = "CmsAlertModeSwitch";
    // 语音唤醒功能
    public static final String VoiceWakeUpSwitch = "VoiceWakeUpSwitch";
    // 调试模式开关
    public static final String DebugModeSwitch = "DebugModeSwitch";
    //呼吸速度
    public static final String RespSpeed = "RespSpeed";

    public static final String ECGShow = "ECGShow";
    public static final String PLETHShow = "PLETHShow";
    public static final String RespShow = "RespShow";
    public static final String NibpShow = "NibpShow";
    public static final String TempShow = "TempShow";


    public static final String BigVessel1 = "BigVessel1";
    public static final String BigVessel2 = "BigVessel2";
    public static final String BigVessel3 = "BigVessel3";


    public static final String HugeVessel1 = "HugeVessel1";
    public static final String HugeVessel2 = "HugeVessel2";

    //屏幕亮度
    public static final String ScreenLuminance = "ScreenLuminance";
    //息屏时间
    public static final String InterestRatesScreenTime = "InterestRatesScreenTime";
    //屏幕旋转模式，0自动  1横屏  2竖屏
    public static final String ScreenModeType = "ScreenModeType";
    //报警音量
    public static final String AlarmVolume = "AlarmVolume";
    //心跳音量
    public static final String HeartVolume = "HeartVolume";
    //心跳音开关 1：有 0：无
    public static final String HeartSwitch = "HeartSwitch";
    public static final String HeartSwitchChange = "HeartSwitchChange";
    public static final String LoginSuccess = "LoginSuccess";
    //心率来源改变
    public static final String ECGValueSourceChange = "ECGValueSourceChange";
    public static final String MainActivityStop = "MainActivityStop";
    public static final String MainActivityResume = "MainActivityResume";
    //0一般模式  1大模式  2超大模式
    public static final String MainShowModel = "MainShowModel";
    public static final String UserLoginConfig = "UserLoginConfig";

    //成人
    public static final String PhysiologyAdultConfig = "PhysiologyAdultConfig";
    //幼儿
    public static final String PhysiologyInfantConfig = "PhysiologyInfantConfig";
    //新生儿
    public static final String PhysiologyNewBornConfig = "PhysiologyNewBornConfig";
    public static final String TechnologyConfig = "TechnologyConfig";

    //保存报警发送EventBus标识
    public static final String AlertSaveConfig = "AlertSaveConfig";
    public static final String AudioVideoActivityFinish = "AudioVideoActivityFinish";
    //设置音量配置发送EventBus标识
    public static final String SetVolumeConfig = "SetVolumeConfig";
    //设置屏幕亮度配置发送EventBus标识
    public static final String SetScreenLightConfig = "SetScreenLightConfig";
    //心跳音标识
    public static final String HeartSound = "HeartSound";
    //设置颜色配置 发送EventBus标识
    public static final String SetColorConfig = "SetColorConfig";

    public static final String SceneType = "SceneType";
    // 蓝牙连接
    public static final String BLEConnect = "BLEConnect";
    // 蓝牙断开
    public static final String BLEDisConnect = "BLEDisConnect";

    /*<------------------RTC相关--------------------*/
    // 离开RTC通道
    public static final String LeaveChannel = "LeaveChannel";
    // 加入通道(对方接听的回调)
    public static final String JoinChannel = "JoinChannel";
    // 加入通道(对方发起视频会话)
    public static final String JoinChannelPassive = "JoinChannelPassive";
    // 对方已经挂断
    public static final String ServerHangup = "ServerHangup";
    /*------------------RTC相关-------------------->*/

    public static final String SetPatientConfig = "SetPatientConfig";
    public static final String ParamsSetConfig = "ParamsSetConfig";
    public static final String EcgLeadModelConfig = "EcgLeadModelConfig";
    public static final String PatientId = "PatientId";
    public static final String PatientName = "PatientName";
    public static final String PatientAge = "PatientAge";
    public static final String BedId = "BedId";
    public static final String Mac = "Mac";
    public static final String MacBytes = "MacBytes";
    public static final String NibpFromEmergent = "NibpFromEmergent";
    public static final String TempPrecision = "TempPrecision";
    public static final String NibpStop = "NibpStop";
    public static final String AllEcgModel1Lead1 = "AllEcgModel1Lead1";
    public static final String AllEcgModel1Lead2 = "AllEcgModel1Lead2";
    public static final String AllEcgModel1Lead3 = "AllEcgModel1Lead3";
    public static final String AllEcgModel1Lead4 = "AllEcgModel1Lead4";
    public static final String AllEcgModel1Lead5 = "AllEcgModel1Lead5";
    public static final String AllEcgModel1Lead6 = "AllEcgModel1Lead6";
    public static final String AllEcgModel1Lead7 = "AllEcgModel1Lead7";
    public static final String AllEcgModel1ToneUp1 = "AllEcgModel1ToneUp1";
    public static final String AllEcgModel1ToneUp2 = "AllEcgModel1ToneUp2";
    public static final String AllEcgModel1ToneUp3 = "AllEcgModel1ToneUp3";
    public static final String AllEcgModel1ToneUp4 = "AllEcgModel1ToneUp4";
    public static final String AllEcgModel1ToneUp5 = "AllEcgModel1ToneUp5";
    public static final String AllEcgModel1ToneUp6 = "AllEcgModel1ToneUp6";
    public static final String AllEcgModel1ToneUp7 = "AllEcgModel1ToneUp7";

    public static final String AllEcgModel2Lead1 = "AllEcgModel2Lead1";
    public static final String AllEcgModel2Lead2 = "AllEcgModel2Lead2";
    public static final String AllEcgModel2Lead3 = "AllEcgModel2Lead3";
    public static final String AllEcgModel2Lead4 = "AllEcgModel2Lead4";
    public static final String AllEcgModel2Lead5 = "AllEcgModel2Lead5";
    public static final String AllEcgModel2Lead6 = "AllEcgModel2Lead6";
    public static final String AllEcgModel2Lead7 = "AllEcgModel2Lead7";
    public static final String AllEcgModel2ToneUp1 = "AllEcgModel2ToneUp1";
    public static final String AllEcgModel2ToneUp2 = "AllEcgModel2ToneUp2";
    public static final String AllEcgModel2ToneUp3 = "AllEcgModel2ToneUp3";
    public static final String AllEcgModel2ToneUp4 = "AllEcgModel2ToneUp4";
    public static final String AllEcgModel2ToneUp5 = "AllEcgModel2ToneUp5";
    public static final String AllEcgModel2ToneUp6 = "AllEcgModel2ToneUp6";
    public static final String AllEcgModel2ToneUp7 = "AllEcgModel2ToneUp7";

    public static final String AllEcgModel3Lead1 = "AllEcgModel3Lead1";
    public static final String AllEcgModel3Lead2 = "AllEcgModel3Lead2";
    public static final String AllEcgModel3Lead3 = "AllEcgModel3Lead3";
    public static final String AllEcgModel3Lead4 = "AllEcgModel3Lead4";
    public static final String AllEcgModel3Lead5 = "AllEcgModel3Lead5";
    public static final String AllEcgModel3Lead6 = "AllEcgModel3Lead6";
    public static final String AllEcgModel3Lead7 = "AllEcgModel3Lead7";
    public static final String AllEcgModel3ToneUp1 = "AllEcgModel3ToneUp1";
    public static final String AllEcgModel3ToneUp2 = "AllEcgModel3ToneUp2";
    public static final String AllEcgModel3ToneUp3 = "AllEcgModel3ToneUp3";
    public static final String AllEcgModel3ToneUp4 = "AllEcgModel3ToneUp4";
    public static final String AllEcgModel3ToneUp5 = "AllEcgModel3ToneUp5";
    public static final String AllEcgModel3ToneUp6 = "AllEcgModel3ToneUp6";
    public static final String AllEcgModel3ToneUp7 = "AllEcgModel3ToneUp7";
    public static final String isCMS = "isCMS";

    //生理警报默认配置
    //成人 0
    public static final String adultPhysiology =
            "[{\"configType\":0,\"uiType\":2,\"name\":\"停搏\",\"max\":0,\"upper\":0,\"lower\":0,\"rank\":0,\"isOpen\":true}," +
                    "{\"configType\":1,\"uiType\":5,\"name\":\"窒息延迟\",\"max\":0,\"upper\":0,\"lower\":0,\"rank\":0,\"isOpen\":true}," +
                    "{\"configType\":2,\"uiType\":1,\"name\":\"HR\",\"max\":350,\"upper\":120,\"lower\":50,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":3,\"uiType\":1,\"name\":\"RR\",\"max\":120,\"upper\":30,\"lower\":8,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":4,\"uiType\":1,\"name\":\"SpO2\",\"max\":100,\"upper\":100,\"lower\":90,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":5,\"uiType\":1,\"name\":\"PR\",\"max\":200,\"upper\":120,\"lower\":50,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":6,\"uiType\":4,\"name\":\"Temp\",\"max\":45,\"upper\":39,\"lower\":36,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":7,\"uiType\":1,\"name\":\"SBP\",\"max\":270,\"upper\":160,\"lower\":90,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":8,\"uiType\":1,\"name\":\"DBP\",\"max\":270,\"upper\":90,\"lower\":50,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":9,\"uiType\":1,\"name\":\"MBP\",\"max\":270,\"upper\":110,\"lower\":60,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":10,\"uiType\":3,\"name\":\"SpO2低饱和度极限\",\"max\":100,\"upper\":80,\"lower\":0,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":11,\"uiType\":1,\"name\":\"Fetal\",\"max\":120,\"min\":50,\"upper\":50,\"lower\":50,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":12,\"uiType\":6,\"name\":\"报警暂停时间\",\"max\":0,\"min\":0,\"upper\":0,\"lower\":0,\"rank\":0,\"isOpen\":true}]";

    //儿童 1
    public static final String infantPhysiology =
            "[{\"configType\":0,\"uiType\":2,\"name\":\"停搏\",\"max\":0,\"upper\":0,\"lower\":0,\"rank\":0,\"isOpen\":true}," +
                    "{\"configType\":1,\"uiType\":5,\"name\":\"窒息延迟\",\"max\":0,\"upper\":0,\"lower\":0,\"rank\":0,\"isOpen\":true}," +
                    "{\"configType\":2,\"uiType\":1,\"name\":\"HR\",\"max\":350,\"upper\":160,\"lower\":75,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":3,\"uiType\":1,\"name\":\"RR\",\"max\":120,\"upper\":30,\"lower\":8,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":4,\"uiType\":1,\"name\":\"SpO2\",\"max\":100,\"upper\":100,\"lower\":90,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":5,\"uiType\":1,\"name\":\"PR\",\"max\":200,\"upper\":160,\"lower\":75,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":6,\"uiType\":4,\"name\":\"Temp\",\"max\":45,\"upper\":39,\"lower\":36,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":7,\"uiType\":1,\"name\":\"SBP\",\"max\":270,\"upper\":120,\"lower\":70,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":8,\"uiType\":1,\"name\":\"DBP\",\"max\":270,\"upper\":70,\"lower\":40,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":9,\"uiType\":1,\"name\":\"MBP\",\"max\":270,\"upper\":90,\"lower\":50,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":10,\"uiType\":3,\"name\":\"SpO2低饱和度极限\",\"max\":100,\"upper\":80,\"lower\":0,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":11,\"uiType\":1,\"name\":\"Fetal\",\"max\":120,\"min\":50,\"upper\":50,\"lower\":50,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":12,\"uiType\":6,\"name\":\"报警暂停时间\",\"max\":0,\"min\":0,\"upper\":0,\"lower\":0,\"rank\":0,\"isOpen\":true}]";

    //新生儿 2
    public static final String newbornPhysiology =
            "[{\"configType\":0,\"uiType\":2,\"name\":\"停搏\",\"max\":0,\"upper\":0,\"lower\":0,\"rank\":0,\"isOpen\":true}," +
                    "{\"configType\":1,\"uiType\":5,\"name\":\"窒息延迟\",\"max\":0,\"upper\":0,\"lower\":0,\"rank\":0,\"isOpen\":true}," +
                    "{\"configType\":2,\"uiType\":1,\"name\":\"HR\",\"max\":350,\"upper\":200,\"lower\":100,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":3,\"uiType\":1,\"name\":\"RR\",\"max\":120,\"upper\":100,\"lower\":30,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":4,\"uiType\":1,\"name\":\"SpO2\",\"max\":100,\"upper\":95,\"lower\":80,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":5,\"uiType\":1,\"name\":\"PR\",\"max\":200,\"upper\":200,\"lower\":100,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":6,\"uiType\":4,\"name\":\"Temp\",\"max\":45,\"upper\":39,\"lower\":36,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":7,\"uiType\":1,\"name\":\"SBP\",\"max\":270,\"upper\":90,\"lower\":40,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":8,\"uiType\":1,\"name\":\"DBP\",\"max\":270,\"upper\":60,\"lower\":20,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":9,\"uiType\":1,\"name\":\"MBP\",\"max\":270,\"upper\":70,\"lower\":25,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":10,\"uiType\":3,\"name\":\"SpO2低饱和度极限\",\"max\":100,\"upper\":70,\"lower\":0,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":11,\"uiType\":1,\"name\":\"Fetal\",\"max\":120,\"min\":50,\"upper\":50,\"lower\":50,\"rank\":1,\"isOpen\":true}," +
                    "{\"configType\":12,\"uiType\":6,\"name\":\"报警暂停时间\",\"max\":0,\"min\":0,\"upper\":0,\"lower\":0,\"rank\":0,\"isOpen\":true}]";

    //技术警报默认配置
    public static final String defaultTechnology =
            "[{\"configType\":0,\"uiType\":0,\"name\":\"ECG导联脱落\",\"max\":0,\"min\":0,\"rank\":2,\"isOpen\":true}," +
                    "{\"configType\":1,\"uiType\":0,\"name\":\"SpO2手指脱落\",\"max\":0,\"min\":0,\"rank\":2,\"isOpen\":true}," +
                    "{\"configType\":2,\"uiType\":0,\"name\":\"温度探头脱落\",\"max\":0,\"min\":0,\"rank\":2,\"isOpen\":true}," +
                    "{\"configType\":3,\"uiType\":0,\"name\":\"SpO2探头脱落\",\"max\":0,\"min\":0,\"rank\":2,\"isOpen\":true}," +
                    "{\"configType\":4,\"uiType\":0,\"name\":\"多参数监护仪低电量\",\"max\":0,\"min\":0,\"rank\":2,\"isOpen\":true}]";

    public static Short EcgSampling = 250;
    public static Short Spo2Sampling = 100;
    // 呼吸多加1点采样率 25采样率正常
    public static Short RespSampling = 26;

    /**
     * 心电算法初始化
     */
    public static long ecgHandle1K = -1;
    public static long ecgHandle = -1;
    public static long ecgHandle2 = -1;
    public static long ecgHandle3 = -1;
    public static long ecgHandle4 = -1; // 用来单独计算心率
    /**
     * 呼吸算法初始化
     */
    public static long respHandle = -1;
    /**
     * 血氧算法初始化
     */
    public static long spo2Handle = -1;
    /**
     * 前导
     */
    public static final byte START = (byte) 0xAA;
    /**
     * 结尾
     */
    public static final byte END = (byte) 0X55;
    /**
     * 目标设备码  安卓
     */
    public static final byte M_DEVICE_CODE = (byte) 0x02;
    /**
     * 源设备码  底层设备
     */
    public static final byte SOURCE_DEVICE_CODE = (byte) 0x01;
    /**
     * 1.心跳 数据标识
     */
    public static final byte HEARTBEAT = (byte) 0x00;
    /**
     * 2.血氧 数据标识
     */
    public static final byte BLOOD_OXYGEN = (byte) 0x01;
    /**
     * 3.心电波形 数据标识
     * 109底层设备暂不提供心电波形数据，只提供原始数据
     */
    public static final byte ECG_WAVE = (byte) 0x02;
    /**
     * 4.心电原始 数据标识
     */
    public static final byte ECG_ORIGINAL = (byte) 0x03;
    /**
     * 5.血压测量结果值 数据标识
     */
    public static final byte BLOOD_PRESSURE_RESULT = (byte) 0x04;
    /**
     * 6.电池电量 数据标识
     */
    public static final byte BATTERY_LEVEL = (byte) 0x05;
    /**
     * 7.体征数值 数据标识
     */
    public static final byte SIGN_VALUE = (byte) 0x06;
    /**
     * 8.血压测量中的值 数据标识
     */
    public static final byte BLOOD_PRESSURE_IN = (byte) 0x07;

    /**
     * 功能码
     * 0x00数据
     */
    public static final byte DATA = (byte) 0x00;

    /**
     * 功能码
     * 0x01命令
     */
    public static final byte ORDER = (byte) 0x01;

    /**
     * 1.起搏开关命令 命令标识
     */
    public static final byte PACE_MAKING_SWITCH = (byte) 0x02;
    /**
     * 2.血压相关命令 命令标识
     */
    public static final byte BLOOD_SWITCH = (byte) 0x03;
    /**
     * 3.心率报警信息控制命令 命令标识
     */
    public static final byte HEART_ALERT_SWITCH = (byte) 0x04;
    /**
     * 4.呼吸报警信息控制命令 命令标识
     */
    public static final byte BREATHE_ALERT_SWITCH = (byte) 0x05;
    /**
     * 5.血氧饱和度报警控制命令 命令标识
     */
    public static final byte BLOOD_OXYGEN_ALERT_SWITCH = (byte) 0x06;
    /**
     * 6.脉率报警控制命令 命令标识
     */
    public static final byte PULSE_RATE_SWITCH = (byte) 0x07;
    /**
     * 7.温度报警控制 命令标识
     */
    public static final byte TEMPERATURE_ALERT_SWITCH = (byte) 0x08;
    /**
     * 8.收缩压报警控制 命令标识
     */
    public static final byte SYSTOLIC_PRESSURE_ALERT_SWITCH = (byte) 0x09;
    /**
     * 9.舒张压报警控制 命令标识
     */
    public static final byte DPD_ALERT_SWITCH = (byte) 0x0a;
    /**
     * 10.平均压报警控制 命令标识
     */
    public static final byte MEAN_BLOOD_PRESSURE_ALERT_SWITCH = (byte) 0x0b;
    /**
     * 11.停搏报警信息设置 命令标识
     */
    public static final byte STOP_PO_ALERT_SWITCH = (byte) 0x0c;
    /**
     * 12.呼吸窒息报警设置 命令标识
     */
    public static final byte BREATHE_STIFLE_ALERT_SWITCH = (byte) 0x0d;
    /**
     * 13.ECG导联脱落报警设置 命令标识
     */
    public static final byte ECG_LEAD_OFF_ALERT_SWITCH = (byte) 0x0e;
    /**
     * 14.ECGYY导联脱落报警设置 命令标识
     */
    public static final byte ECGYY_LEAD_OFF_ALERT_SWITCH = (byte) 0x0f;
    /**
     * 15.血氧探头脱落报警设置 命令标识
     */
    public static final byte BLOOD_OXYGEN_PROBE_ALERT_SWITCH = (byte) 0x10;
    /**
     * 16.血氧手指脱落报警设置 命令标识
     */
    public static final byte BLOOD_OXYGEN_FINGER_ALERT_SWITCH = (byte) 0x11;
    /**
     * 17.温度探头脱落报警设置 命令标识
     */
    public static final byte TEMPERATURE_PROBE_ALERT_SWITCH = (byte) 0x12;
    /**
     * 18.呼吸窒息时间延迟 命令标识
     */
    public static final byte BREATHE_STIFLE_TIME_DELAY = (byte) 0x13;
    /**
     * 19.心电导联模式设置 命令标识
     */
    public static final byte ECG_LEAD_PATTERN_SET = (byte) 0x14;
    /**
     * 20.脉搏音量有无设置 命令标识
     */
    public static final byte PULSE_VOLUME_IS_NOt_SET = (byte) 0x15;
    /**
     * 21.报警音量值 命令标识
     */
    public static final byte ALARM_VOLUME_VALUE = (byte) 0x16;
    /**
     * 22.报警暂停时间设置 命令标识
     */
    public static final byte ALARM_PAUSE_TIME_SET = (byte) 0x17;
    /**
     * 23.注册检测调控命令 命令标识
     */
    public static final byte REGISTER_TEST_ORDER = (byte) 0x18;
    /**
     * 24.蓝牙相关控制命令 命令标识
     */
    public static final byte BLE_CONTROL_ORDER = (byte) 0x19;
    /**
     * 25.压力校准开关命令 命令标识
     */
    public static final byte PRESSURE_POINT_SWITCH = (byte) 0x1a;
    /**
     * 26.压力校准压力点命令 命令标识
     */
    public static final byte PRESSURE_POINT_ORDER = (byte) 0x1b;
    /**
     * 27.压力查询命令 命令标识
     */
    public static final byte PRESSURE_QUERY_ORDER = (byte) 0x1c;
    /**
     * 28.应答压力查询 命令标识
     */
    public static final byte RSP_PRESSURE_QUERY = (byte) 0x1d;
    /**
     * 29.4G相关控制命令 命令标识
     */
    public static final byte FLOW_CONTROL_ORDER = (byte) 0x1e;
    /**
     * 30.WIFI相关控制命令 命令标识
     */
    public static final byte WIFI_ORDER = (byte) 0x1f;
    /**
     * 31.版本信息查询命令 命令标识
     */
    public static final byte VERSION_QUERY_ORDER = (byte) 0x20;
    /**
     * 32.应答版本信息 命令标识
     */
    public static final byte PRS_VERSION_INFORMATION = (byte) 0x21;
    /**
     * 33.LDO控制命令 命令标识
     */
    public static final byte LDO_CONTROL_ORDER = (byte) 0x22;
    /**
     * 34.气阀控制开关命令 命令标识
     */
    public static final byte AIR_CONTROL_ORDER = (byte) 0x23;
    /**
     * 35.心电采样率设置命令 命令标识
     */
    public static final byte ECG_SAMPLING_ORDER = (byte) 0x24;
    /**
     * 36.血压测量间隔命令 命令标识
     */
    public static final byte BLOOD_MEASURE_ORDER = (byte) 0x25;
    /**
     * 37.控制位命令 命令标识
     */
    public static final byte CONTROL_ORDER = (byte) 0x26;
    /**
     * 38.一般应答 命令标识
     */
    public static final byte GENERAL_RES = (byte) 0x27;

    /**
     * 全局初始化-中央监护系统报警模式
     */
    public static final boolean bCmsAlertModeSwitchInit = false;

    /**
     * 全局初始化-Debug模式
     */
    public static final boolean bDebugModeSwitchInit = false;

    /**
     * 页面跳转恢复相关
     */
    public static final String RevertBeanSave = "RevertBeanSave";

    /**
     * 记录Tcp断开连接时的时间
     */
    public static final String TcpDisconnectTime = "TcpDisconnectTimeExt";

    /**C
     * 记录Tcp建立连接成功的时间
     */
    public static final String TcpConnectTime = "TcpConnectTime";

    /**
     * 记录系统上电的次数
     */
    public static final String MonitorUpCount = "MonitorUpCount";

    /**
     * 断点续传功能是否开启，默认开启
     */
    public static boolean bContinuationOn = true;

    /**
     * 记录当前正在使用的续传文件信息
     */
    public static final String ContinuationBean = "ContinuationBean";

    /**
     * 使用系统设置中设备名称
     */
    public static String UsingSysParamsDevName = "UsingSysParamsDevName";
    public static boolean bUsingSysParamsDevNameDefault = true;
    public static String SysParamsDevName = "SysParamsDevName";
    public static String SysParamsDevNameDefault = "109-dev";

    public static String UsingSysParamsAutoInHos = "UsingSysParamsAutoInHos";
    public static boolean bUsingSysParamsAutoInHosDefault = false;

    /**
     * 使用系统设置中的病人名称
     */
    public static String UsingSysParamsPatientName = "UsingSysParamsPatientName";
    public static boolean bUsingSysParamsPatientNameDefault = false;
    public static String SysParamsPatientName = "SysParamsPatientName";
    public static String SysParamsPatientNameDefault = "";
}
